//获取可用串口列表
import request from "../http/axios";

export function getPorts(data) {
  return request({
    url: "api/serial/ports",
    method: "get",
    data,
  });
}
export function getListCameras(data) {
  return request({
    url: "api/video/list_cameras",
    method: "get",
    data,
  });
}
